package com.etoak.service.impl;

import com.etoak.entity.Pic;
import com.etoak.mapper.PicMapper;
import com.etoak.service.PicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PicServiceImpl implements PicService {

    @Autowired
    PicMapper picMapper;

    @Override
    public Integer addPic(Pic pic) {
        return picMapper.insert(pic);
    }
}
